#ifndef SETTINGSVIEW_H
#define SETTINGSVIEW_H

#include <QDialog>
#include "SettingsViews/ISettingsView.h"

namespace Ui {
    class SettingsView;
}

class QModelIndex;
class QAbstractButton;
class SettingsView : public QDialog
{
    Q_OBJECT

public:
    explicit SettingsView(QWidget *parent = 0);
    virtual ~SettingsView();
private:
    void addView(ISettingsView *view);
    void saveSettings();
private slots:
    void menuActivated(int);
    void doBoxAction(QAbstractButton*);
private:
    Ui::SettingsView *ui;
    QList<ISettingsView*> _views;
};

#endif // SETTINGSVIEW_H
